<%@ page language="java" import="java.util.*, com.opensymphony.xwork2.ActionContext;" pageEncoding="UTF-8"%>
<% 
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>head</title>
    <link href="css/style.css" type="text/css" rel="stylesheet">
    <script src="./js/jquery-1.7.2.min.js" type="text/javascript"></script>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8"><style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	background-image: url(images/head_bg.jpg);
}
#Layer1 {
	position:absolute;
	width:76px;
	height:33px;
	z-index:1;
	left: 398px;
	top: 82px;
}
.STYLE1 {font-size: 12px; font-family: arial}
-->
  </style></head>
  <s:if test="msg == 'success'"> 
  		<script>
  		$("#province").val("");
  		window.parent.frames["leftFrame"].location.reload();
  		</script>
  </s:if>
  <body>
  <table width="100%" border="0" cellpadding="0" cellspacing="0">
    <!--DWLayoutTable-->
    <tr>
      <td height="60" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">
        <!--DWLayoutTable-->
        <tr>
          <td height="60" valign="top" colspan="4" align="left">&nbsp;&nbsp;<img src="images/logo.png"></td>
          <% String authed = (String)session.getAttribute("auth");
			 if (!"yes".equals(authed)) {
          %>
          <td valign="middle"><form name="auth" action="login.action"><table>
								<tr>
									<td class="STYLE1">输入授权码查看更多功能</td>
								</tr>
								<tr>
									<td><input type="password" name="authKey" type="text" size="16" maxlength="20" style="width:100px; height:18px;"></input></td>
								</tr>
								<tr>
									<td><input type="submit" name="ok" value="确 定"></input></td>
								</tr>
							</table></form></td>
		  <%} %>
        </tr>
      </table>      </td>
    </tr>
   
  </table>
  </body>
</html>
